package API.Map.ImmutableMap;

import java.util.Map;

public class Example1 {
    public static void main(String[] args) {
        Map<String, String> map = Map.of("Jack", "US", "Mike", "UK", "Nick", "Japan");
        for (Map.Entry<String, String> entry : map.entrySet()) {
            System.out.println(entry.getKey() + " in the " + entry.getValue());
        }
    }
}
